package net.xdclass.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

/**
 * @Classname XxlJobConfig
 * @Description TODO
 * @Date 2022/11/10 23:33
 * @Created by sunhao
 */
@Data
@Configuration
public class XxlJobConfig {
  @Value("${xxl.job.accessToken}")
  private String accessToken;

  @Value("${xxl.job.admin.addresses}")
  private String addresses;

  @Value("${xxl.job.executor.address}")
  private String executorAddress;

  @Value("${xxl.job.executor.appname}")
  private String appName;

  @Value("${xxl.job.executor.ip}")
  private String ip;

  @Value("${xxl.job.executor.logpath}")
  private String logpath;

  @Value("${xxl.job.executor.logretentiondays}")
  private String logretentiondays;

  @Value("${xxl.job.executor.port}")
  private String port;
}
